package com.tianji.promotion.service;

import com.tianji.promotion.domain.po.Coupon;
import com.tianji.promotion.domain.po.ExchangeCode;
import com.baomidou.mybatisplus.extension.service.IService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 兑换码 服务类
 * </p>
 *
 * @author author
 * @since 2025-03-29
 */


public interface IExchangeCodeService extends IService<ExchangeCode> {

    /**
     * 兑换码服务的异步生成兑换码
     * @param coupon
     */
    void asyncGenerateCode(Coupon coupon);
}
